// 片段着色器 

#version 330 core

out vec4 FragColor;

// in  vec3 ourColor;
in  vec2 TexCoord;

uniform sampler2D ourTexture1;
uniform sampler2D ourTexture2;
uniform float visibilityValue;

void main(){
    FragColor = mix(texture(ourTexture1,TexCoord),texture(ourTexture2,TexCoord),visibilityValue);
}